<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <link rel="stylesheet" href="/css/index.css">
    <script src="/js/setRem.js"></script>
</head>
<body>
<div class="news-list-box">
    {{ each results.newsList}}
    <a href="/news/{{@ $value._id }}.html">
        <div class="news-info-box{{ if $value.thumb != '' }} news-type2{{ /if }}">
            <div class="news-box">
                <h3>{{ $value.title }}</h3>
                <div class="news-info">
                    <span>{{ $value.type }}</span>
                    <span>{{ $value.createTime | formatTime $value.createTimes }}</span>
                </div>
            </div>
            {{ if $value.thumb != '' }}
            <div class="news-img">
                <img src="{{ $value.thumb }}" class="lazyload" alt="">
            </div>
            {{ /if }}
        </div>
    </a>
    {{ /each }}
</div>
welcome to zhixinyanlv!
{{ each results}}
<p>{{ $value.name }}</p>
{{/each}}
</body>
</html>